package com.util;

import java.util.TimerTask;

import com.wechat.common.WeChatTask;
/**
 * 定时任务类
 * @author Administrator
 *
 */
public class QuartzJob extends TimerTask {
	
	/**
	 * 定时任务的业务逻辑
	 */
	@Override
	public void run() {
		WeChatTask timer = new WeChatTask(); 
		try {
			timer.getToken_getTicket();//执行获取access_token方法
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
